<?php 
    foreach($contracts as $item){
		echo "<option value='".$item->id."'>".$item->contract_name."</option>";
	}
?>
            